var Score = function () {
    var Filter = function () {
        $('select,input:text[name="date"]','.filter-bar').change(function () {
            $.ajax({
                url: $('.url-data').val(),
                type: 'post',
                data:  $('select,input:text','.filter-bar').serializeArray()
            }).done(function(response) {
                
                $('.table-content').html(
                    response
                    );
                
            })
            .fail(function() {
                //alert('Check Your Connection.');
            });
            
        }).first().trigger('change');
    }
        
    return {
        init: function () {
            Filter();
        }
    
    };

}();